if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[InetLogUpdatePreservationNoticeHistoryID]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].InetLogUpdatePreservationNoticeHistoryID
GO

CREATE PROCEDURE dbo.[InetLogUpdatePreservationNoticeHistoryID]
(
	@InetLogID int,
	@PreservationNoticeHistoryID int
)
AS

SET NOCOUNT ON

UPDATE
	inetlog
SET
	PreservationNoticeHistoryID = @PreservationNoticeHistoryID
WHERE
	InetLogID = @InetLogID
GO